<?php
include ('./inc/common.inc.php');
//cachePage(20);
$data = "";
$arr = encode($data, $globalConfig['key']);
echo $arr['data'];
//echo "<br>".$arr['iv'];
$origialdata = decode($arr['data'], $arr['iv'], $globalConfig['key']);
echo "<br>".$origialdata;
	//	原字符串
	//$str = "你好";
	//	加密后的字符串
	//$encode = $str ^ "0x1102";
	//	解密字符串
	//$decode = $encode ^ "0x1102";
	echo $encode;
	echo $decode;



?>
